Microsoft DirectX 8.1 (C++)

CPersistStream::ReadFromStream

Reads the filter's data from the given stream.

Syntax

virtual HRESULT ReadFromStream(
    IStream *pStream
);

Parameters

pStream

Pointer to an IStream interface from which data is to be read.

Return Value

Returns S_OK. The derived class should return a valid HRESULT value.

Remarks

The default version reads nothing; it can be overridden to read data specific to your class.

See Also